package com.sz.biz.logistics.core.dto;

import com.sz.common.base.entity.EntityBase;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.Valid;
import java.util.Date;
import java.util.List;

/**
 * Function: 价格套餐Dto <br>
 * Author: hpeng.wang <br>
 * Date: 2017-04-18 16:37:00
 */
public class PriceComboDto extends EntityBase {
    private Integer id;


    /**
     * 供价格之类的表使用的uuid值
     */
    private String uid;


    /**
     * 套餐名称
     */
    private String name;

    /**
     * 套餐编码
     */
    private String code;
    /**
     * 是否被激活　0：不激活　1：激活
     */
    @ApiModelProperty(value = "false")
    private Boolean isActive = true;

    /**
     * 是否删除 0：未删除 1删除
     */
    @ApiModelProperty(value = "false")
    private Boolean isDeleted = false;

    /**
     * 激活时间
     */
    private Date activeTime;

    /**
     * 失效时间
     */
    private Date inactiveTime;

    /**
     * 描述
     */
    private String description;

    /**
     * 创建者id
     */
    private Integer createUserId;
    /**
     * 创建者名字
     */
    private String createUserName;
    /**
     * 创建者名字
     */
    private String fullName;

    /**
     * 最后更新者id
     */
    private Integer lastUpdateUserId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 最后更新时间
     */
    private Date lastUpdateTime;
    @Valid
    private List<PriceComboQuotationDto> comboQuotationDtoList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Boolean getIsActive() {
        return isActive;
    }

    public void setIsActive(Boolean active) {
        isActive = active;
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean deleted) {
        isDeleted = deleted;
    }

    public Date getActiveTime() {
        return activeTime;
    }

    public void setActiveTime(Date activeTime) {
        this.activeTime = activeTime;
    }

    public Date getInactiveTime() {
        return inactiveTime;
    }

    public void setInactiveTime(Date inactiveTime) {
        this.inactiveTime = inactiveTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public Integer getLastUpdateUserId() {
        return lastUpdateUserId;
    }

    public void setLastUpdateUserId(Integer lastUpdateUserId) {
        this.lastUpdateUserId = lastUpdateUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public List<PriceComboQuotationDto> getComboQuotationDtoList() {
        return comboQuotationDtoList;
    }

    public void setComboQuotationDtoList(List<PriceComboQuotationDto> comboQuotationDtoList) {
        this.comboQuotationDtoList = comboQuotationDtoList;
    }
}